package com.shopping.hotItem.bean;

/**
 * 统计结果
 */
public class Result {
    /**
     * 商品id
     */
    private Long itemId;

    /**
     * 商品数量
     */
    private Integer count;

    public Result() {
    }

    public Result(Long itemId, Integer count) {
        this.itemId = itemId;
        this.count = count;
    }

    @Override
    public String toString() {
        return "Result{" +
                "itemId=" + itemId +
                ", count=" + count +
                '}';
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}
